-- GENERATED SPELL FOR [Longneck Grazer] --


function spell0_28129(pUnit, Event) --@Hoof Strike,n/a--
pUnit:FullCastSpellOnTarget(29577,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28129', 541, 1)
end

function Sorts_28129(pUnit, Event)
local choix_sorts_28129 = math.random(0, 0)
if choix_sorts_28129 == 0 then
pUnit:RegisterEvent('spell0_28129', 1, 1)
end
end

function mob28129_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28129', math.random(1500, 3000), 1)
end

function mob28129_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28129_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28129_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28129, 1, 'mob28129_Action')
RegisterUnitEvent(28129, 2, 'mob28129_Leave')
RegisterUnitEvent(28129, 3, 'mob28129_Kill')
RegisterUnitEvent(28129, 4, 'mob28129_Die')
